﻿using Common.Standard;
using System;
using System.ComponentModel.DataAnnotations;

namespace MODEL.Base
{
    public class EntityBase
    {
        public EntityBase()
        {
            del = false;
            createdtime = TimeHelper.TimeToSecondStamp(DateTime.Now);
        }
        /// <summary>
        /// ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public int createdtime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public string remark { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool del { get; set; }
    }
}
